var total=5 var question=new Array() for (i=1;i<=total+1;i++){ temp="choice"+i+"=new Array()" eval(temp) } var solution=new Array() /*Below lists the phrases that will be randomly displayed if the user correctly answers the question. You may extend or shorten this list as desired*/ var compliments=new Array() compliments[0]="Excellent!" compliments[1]="Wow, you're really rocking!" compliments[2]="You must have studied hard. Good job!" compliments[3]="Right on." compliments[4]="Correct!" compliments[5]="Great Job!" compliments[6]="Good work!" /*Below lists the questions, its choices, and finally, the solution to each question. Folow the exact format below when editing the questions. You may have as many questions as needed. Check doc at http://javascriptkit.com/script/script2/comboquiz.htm for more info */ question[1]="What is the biggest city in Florida by land mass?" choice1[1]="Miami, FL" choice1[2]="Tampa, FL" choice1[3]="Jacksonville, FL" choice1[4]="Orlando, FL" question[2]="What is Florida's State bird?" choice2[1]="Mockingbird" choice2[2]="Sandhill Crane" choice2[3]="Florida Scrub-Jay" choice2[4]="Roseate Spoonbill" question[3]="What is the longest river in Florida?" choice3[1]="Ichetucknee River" choice3[2]="St. John's River" choice3[3]="Indian River" choice3[4]="Kissimmee River" question[4]="When was the first record of oranges being grown in Florida?" choice4[1]="1779" choice4[2]="1579" choice4[3]="1979" choice4[4]="1379" question[5]="What is the capital of Florida?" choice5[1]="Jacksonville, FL" choice5[2]="Orlando, FL" choice5[3]="Miami, FL" choice5[4]="Tallahassee, FL" solution[1]="c" solution[2]="a" solution[3]="b" solution[4]="b" solution[5]="d"